<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, uesr-scalable=no,minimum-width=1.0,maximum-scale=1.0">
    <link rel="stylesheet" href="css/normalize.css">
    <link rel="stylesheet" href="css/index.css">
    <link rel="stylesheet" href="css/swiper-bundle.min.css">
    <title>黑马面面</title>
</head>

<body>
    <header>黑马面面</header>

    <!-- 导航模块 -->
    <nav>
        <a href="#">
            <img src="icons/icon1.png" alt="">
            <p>HR面试</p>
        </a>
        <a href="#">
            <img src="icons/icon2.png" alt="">
            <p>笔试</p>
        </a>
        <a href="#">
            <img src="icons/icon3.png" alt="">
            <p>技术面试</p>
        </a>
        <a href="#">
            <img src="icons/icon4.png" alt="">
            <p>模拟面试</p>
        </a>
        <a href="#">
            <img src="icons/icon5.png" alt="">
            <p>面试技巧</p>
        </a>
        <a href="#">
            <img src="icons/icon6.png" alt="">
            <p>薪资查询</p>
        </a>
    </nav>

    <!-- go模块 -->
    <div class="go">
        <img src="upload/go.png" alt="">
    </div>

    <!-- margin空隙 模块 -->
    <div class="margin"></div>

    <!-- 就业指导模块 -->
    <div class="content">
        <!-- 就业指导头部 模块 -->
        <div class="content_hd">
            <h4>
                <span>
                    <img src="icons/i2.png" alt="">
                </span>
                就业指导
            </h4>
            <a href="#">更多&gt;&gt;</a>
        </div>

        <!-- 就业指导 旋转木马滑动图模块 -->
        <div class="get_job_focus">
            <!-- Swiper -->
            <div class="swiper-container get_job_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="upload/pic.png" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="upload/ldh.jpg" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>

                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <img src="upload/3.jpg" alt="">
                        </a>
                        <p>老师教你应对面试技巧</p>
                    </div>
                </div>

                <!-- Add Pagination 分页器部分（不需要）-->
                <!-- <div class="swiper-pagination"></div> -->
            </div>

            <!-- Add navigation 箭头部分 （因为container有了overflow:hidden; 根据需求把箭头拿到container外边）-->
            <div class="swiper-button-next"></div>
            <div class="swiper-button-prev"></div>
        </div>
    </div>
    <!-- margin模块 -->
    <div class="margin"></div>
    <!-- 学习充电模块 -->
    <div class="content">
        <!-- 头部部分 -->
        <div class="content_hd">
            <h4>
                <span>
                    <img src="icons/i1.png" alt="">
                </span>
                学习充电
            </h4>
            <a href="#">更多&gt;&gt;</a>
        </div>
        <!-- 学习充电 轮播图部分 -->
        <div class="study">
            <!-- Swiper -->
            <div class="swiper-container study_fo">
                <div class="swiper-wrapper">
                    <div class="swiper-slide">
                        <a href="#">
                            <div>
                                <img src="upload/pic1.png" alt="">
                            </div>
                            <h4>说地道英语，告别中式英语</h4>
                            <p><span>156</span>人学习</p>
                        </a>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <div>
                                <img src="upload/pic2.png" alt="">
                            </div>
                            <h4>思维攻略金字塔思维提升写作能力</h4>
                            <p><span>125</span>人学习</p>
                        </a>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <div>
                                <img src="upload/pic1.png" alt="">
                            </div>
                            <h4>说地道英语，告别中式英语</h4>
                            <p><span>156</span>人学习</p>
                        </a>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <div>
                                <img src="upload/pic2.png" alt="">
                            </div>
                            <h4>思维攻略金字塔思维提升写作能力</h4>
                            <p><span>125</span>人学习</p>
                        </a>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <div>
                                <img src="upload/pic1.png" alt="">
                            </div>
                            <h4>说地道英语，告别中式英语</h4>
                            <p><span>156</span>人学习</p>
                        </a>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <div>
                                <img src="upload/pic2.png" alt="">
                            </div>
                            <h4>思维攻略金字塔思维提升写作能力</h4>
                            <p><span>125</span>人学习</p>
                        </a>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <div>
                                <img src="upload/pic1.png" alt="">
                            </div>
                            <h4>说地道英语，告别中式英语</h4>
                            <p><span>156</span>人学习</p>
                        </a>
                    </div>
                    <div class="swiper-slide">
                        <a href="#">
                            <div>
                                <img src="upload/pic2.png" alt="">
                            </div>
                            <h4>思维攻略金字塔思维提升写作能力</h4>
                            <p><span>125</span>人学习</p>
                        </a>
                    </div>
                </div>
                <!-- Add Pagination 不需要分页器-->
                <!-- <div class="swiper-pagination"></div> -->
            </div>
        </div>
    </div>
    <!-- 底部导航栏模块 -->
    <div class="nav_bottom">
        <a href="#">
            <img src="icons/home.png" alt="">
            <p>首页</p>
        </a>
        <a href="#">
            <img src="icons/ms.png" alt="">
            <p>技术面试</p>
        </a><a href="#">
            <img src="icons/net.png" alt="">
            <p>模拟面试</p>
        </a><a href="#">
            <img src="icons/user.png" alt="">
            <p>我的主页</p>
        </a>
    </div>

    <script src="js/swiper-bundle.min.js"></script>
    <script src="js/flexible.js"></script>
    <script>
        // 第一个函数是 就业指导 轮播图
        (function () {
            var swiper = new Swiper('.get_job_fo', {
                // 能看到的slide数量
                slidesPerView: 2,
                // slide之间的间距
                spaceBetween: 30,
                // 中间的最大的居中显示，默认为靠左
                centeredSlides: true,
                loop: true,
                // 添加左右箭头
                navigation: {
                    nextEl: '.swiper-button-next',
                    prevEl: '.swiper-button-prev',
                },
                // 分页器部分不需要
                // pagination: {
                //     el: '.swiper-pagination',
                //     clickable: true,
                // },
            });
        })()
    </script>
    <!-- 第二个函数就是学习充电模块slide -->
    <script>
        // (function () {})()
        (function () {
            var swiper = new Swiper('.study_fo', {
                slidesPerView: 2.4,
                spaceBetween: 20,
                loop: true,
                // 分页器部分不需要
                // pagination: {
                //     el: '.swiper-pagination',
                //     clickable: true,
                // },
            });
        })()
    </script>
</body>

</html>